package com.lazyboyl.sharding.proxy.backend.service;

import com.lazyboyl.sharding.proxy.backend.dao.CurrencyDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class CurrencyService {

    @Autowired
    private CurrencyDao currencyDao;

    /**
     * 功能描述： 执行原生的sql语句
     *
     * @param sql 待执行的sql语句
     * @return 返回执行结果
     */
    public List<Map<String, Object>> executeCurrencySql(String sql) {
        return currencyDao.executeCurrencySql(sql);
    }

}
